package com.pw.study.realtime.utils

import java.io.InputStreamReader
import java.util.Properties


object MyUtils {
  def load(propertiesName: String): Properties = {
    val properties = new Properties()
    properties.load(new InputStreamReader(Thread.currentThread().getContextClassLoader.getResourceAsStream(propertiesName), "utf-8"))
    properties
  }


}
